<template>
  <img alt="Vue logo" src="../../assets/logo.png">
  <router-view />
</template>

<script>
  import {reactive,toRefs,defineComponent,getCurrentInstance} from 'vue'
  
  export default defineComponent({
    setup() {
      console.log('进入')
      const {proxy} = getCurrentInstance();
      // ---------------------------------
      let data=reactive({
        
      })
      let refData = toRefs(data);
      return {...refData}
    },
  })
  </script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
